
<div class="popup-statistic">
    <div class="top_search">
        <table border="0" class="tbl-popup1">
            <tr>
                <td>フィルタ</td>
                <td colspan="2">
                    <input type="text" id="filter_search" name="filter_search" value="<?php echo $this->search_name; ?>" style="width: 270px;" />
                </td>
                
                <td style="width: 10%;"><a href="#"><input name="btnfind" id="btnfind" class="button" type="button" value="検索" /></a></td>
                <td style="width: 10%;"><a href="#"><input name="btnclear" id="btnclear" class="button" type="button" value="クリア " /></a></td>
                <td class="f-right"></td>
            </tr>
        </table>
    </div>
    
    <div id="the_wrap">
        <div class="the_scroll">
           <table class="adminlist">
        		<thead>
        			<tr>
        				<th class="th10">
        					ID
                        </th>
                        <th class="th30">
                            氏名
                        </th>
        				<th class="th30">
                            氏名カナ				
                        </th>
                        <th class="th30">
                            性別
                        </th>
        				
        			</tr>
        		</thead>
                        		
        		<tbody>
                  
                 
        		</tbody>
               
        	</table>
            <input type="hidden" name="coch_code_temp" id="coch_code_temp" value="" />
        </div>
    </div>
</div>
<script>
    jq(document).ready(function() {
        jq("#btnfind").click(function(){
            jq.ajax({
              url: encodeURI('index.php?option=com_certification&task=searchCoch'
                +'&filter_search='+jq('#filter_search').val()),
              context: document.body,
              beforeSend: function(){
                jq('#the_wrap').html("Loading...");
              },
            }).done(function(data ) {
              jq('#the_wrap').html(data);
            }); 
        })
        
        //clear
        jq("#btnclear").click(function(){
            jq("#filter_search").val(null);
            jq.ajax({
              url: 'index.php?option=com_certification&task=clearSearchCoch',
              context: document.body
            }).done(function(data ) {
              jq('#the_wrap').html(data);
            }); 
              
        })
        
    });
</script>
<?php 

$app = &JFactory::getApplication();
$app->close();

?>